package com.zn.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author YinJiaWei
 * @version 2018/10/18 13:48
 * 证券信息
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Target {
    /**name 为标的名称（字符串类型）**/
    @JsonProperty("name")
    private String name;
    /**tg 为标的序号(Int类型)**/
    @JsonProperty("tg")
    private Integer tg;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTg() {
        return tg;
    }

    public void setTg(Integer tg) {
        this.tg = tg;
    }

    @Override
    public String toString() {
        return "Target{" +
                "name='" + name + '\'' +
                ", tg='" + tg + '\'' +
                '}';
    }
}
